<?php
/**
 * 标签管理模版页面
 * $Id: manage_tags.php 192 2010-11-04 07:52:58Z bwanglei@gmail.com $
 */?>
<div id="main"><table width="100%"><tr><td colspan="3"><strong>管理标签：</strong></td></tr>
<?php
foreach ($tags as $tag) {
	?>
	<form action="<?php echo $blogUrl;?>/admin/manage_tags.php?action=manage-tag" method="post"><tr>
		<td>标签名称：<input type="text" value="<?php echo $tag['name'];?>" name="name_tag" /></td>
		<td>帖子数量：<?php echo $tag['count'];?></td>
		<td><input type="checkbox" name="del_tag" value="true" id="<?php echo $tag['name'];?>_del_tag" />
			<label for="<?php echo $tag['name'];?>_del_tag">删除</label></td>
		<td><input type="hidden" value="<?php echo $tag['name'];?>" name="old_name_tag" />
			<input type="submit" value="提交" /></td>
	</tr></form>
	<?php
}?></table></div>
